package com.yoga.manager.app;

import com.yoga.common.appexception.AppException;
import com.yoga.common.bo.PrivateVipBO;

/**
 * Created by hdx on 2020/9/26.
 */
public interface AppPrivateVipManager {
    /**
     * 每次查询私教vip信息，按vip结束日期更新vip状态
     * @param yogaUserId
     * @return
     * @throws AppException
     */
    PrivateVipBO getPrivateVipByUserId(Long yogaUserId) throws AppException;

    /**
     * 判断是否是私教会员， 是返回true，不是返回false
     * @param yogaUserId
     * @return
     * @throws AppException
     */
    Boolean getIsPrivateVIP(Long yogaUserId) throws AppException;
}
